
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main_index">
        <g:javascript src="client.js" />
	</head>
	<body class="easyui-layout" >
        <div region="west" style="width:150px;padding:10px 5px;"  class="tree-lines">
            <div style="padding:2px;position: relative;width:120px;height: 30px;">
                <a href="#" class="client-add" title="添加" >添加</a>
                <a href="#" class="client-update" title="修改">修改</a>
                <a href="#" class="client-delete" title="删除">删除</a>
            </div>
            <ul id="clientTree" url="${createLink(action: 'treeJson')}" animate="true" class="tree-lines"></ul>
        </div>
        <div id="content" region="center" style="padding:5px;border: 0;">
            <table id="client_user_tab"></table>
        </div>
    <div id="add" style="padding:5px 10px">
        <g:form name="add_form" action="save" class="add_form">
            <g:render template="form"/>
        </g:form>
    </div>
    <div id="addClientUser" style="padding:5px 10px">
        <g:form name="add_user_form" action="saveUser" class="add_user_form">
            <g:render template="user_form"/>
        </g:form>
    </div>
    <g:hiddenField name="deleteUrl" value="${createLink(uri: '/client/delete')}"/>
    <g:hiddenField name="userDeleteUrl" value="${createLink(uri: '/client/userDelete')}"/>
    <g:hiddenField name="clientUserRouterUrl" value="${createLink(uri: '/client/router')}"/>
    <div id="mm" class="easyui-menu" style="width:120px;">
        <div class="treegrid-add">添加</div>
        <div class="treegrid-edit">编辑</div>
        <div class="treegrid-remove">删除</div>
    </div>
    <div id="searchDg" style="padding:5px 10px">
        名称或编号<g:textField name="searchName"/>
    </div>
    <div id="clientUser_route_dg" style="padding:5px 10px">
        <iframe scrolling="auto" id='clientUser_route_ifr' frameborder="0"  src="" style="width:100%;height:100%;"></iframe>
    </div>
	</body>
</html>
